<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Welcome extends Controller {

	function Welcome()
	{
		parent::Controller();	
	}

	// --------------------------------------------------------------------

	function index()
	{
		$welcome_css = "
			<style type='text/css'>
				body {
					background-color: #356AA0;
				}

				div.notices > p {
					margin-top: 15px;
					margin-bottom: 5px;
				}

				div#header_pane,
				div#navigation_pane,
				div#footer_pane {
					display: none;
				}

				div#ci_headstart_welcome {
					border: 4px solid #000;
					background-color: #FFF;
					padding: 10px;
					margin: 20px auto;
				}

				div#ci_headstart_welcome > h1 {
					text-align: center;
					font-size: 2em;
					font-weight: bold;
				}

				div#ci_headstart_welcome > p#page_rendered {
					text-align: center;
				}
			</style>
		";

		$this->layout->add_header_item($welcome_css);
		$this->layout->view('welcome_message');
	}
	
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */